//
//  NewsXMLParser.h
//  Mehfile Zainab
//
//  Created by Sitara Badourali on 03/06/12.
//  Copyright (c) 2012 Mehfile Zainab. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MZNewsViewController.h"

@class MZNews;

@interface NewsXMLParser : NSObject <NSXMLParserDelegate> {
    
    NSMutableString *currentElementValue;
    
    //XMLAppDelegate *appDelegate;
    //Book *aBook; 
    
    MZNews *news;
    MZNewsViewController *viewController;
    
    NSString *URLToLoad;
    
}

@property (nonatomic, retain) NSString *URLToLoad;

//- (NewsXMLParser *) initXMLParser;
- (NewsXMLParser *) initXMLParser:(MZNewsViewController*)aViewController;

@end